package com.janko.springbootbase.designmode.abstractFactory;

/**
 * @Description 人类枚举类型
 * @Author nieyankang
 * @Version 1.0
 * @date {date} {time}
 */
public enum HumanEnum {
    YellowWoMan("com.janko.springbootbase.designmode.abstractFactory.YellowWomanFactory"),
    YellowMan("com.janko.springbootbase.designmode.abstractFactory.YellowManFactory");

    private String value = "";
    //定义构造函数，目的是Data(value)类型的相匹配
    private HumanEnum(String value){
        this.value = value;
    }

    public String getValue(){
        return this.value;
    }
}
